package com.itboye.mengwu.data.model;

import java.io.Serializable;
import java.util.ArrayList;

public class DapeigouBean implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	String id,packageName,createTime,endTime,packagePrice,packageImg,packageDesc,dtType;
	ArrayList<DaPeiGouItems> items;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPackageName() {
		return packageName;
	}
	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public String getPackagePrice() {
		return packagePrice;
	}
	public void setPackagePrice(String packagePrice) {
		this.packagePrice = packagePrice;
	}
	public String getPackageImg() {
		return packageImg;
	}
	public void setPackageImg(String packageImg) {
		this.packageImg = packageImg;
	}
	public String getPackageDesc() {
		return packageDesc;
	}
	public void setPackageDesc(String packageDesc) {
		this.packageDesc = packageDesc;
	}
	public String getDtType() {
		return dtType;
	}
	public void setDtType(String dtType) {
		this.dtType = dtType;
	}
	public ArrayList<DaPeiGouItems> getItems() {
		return items;
	}
	public void setItems(ArrayList<DaPeiGouItems> items) {
		this.items = items;
	}
	public static class DaPeiGouItems implements Serializable{
		/**
		 * 
		 */
		private static final long serialVersionUID = 1L;
		String id,pId,packageId,isMain,name,onshelf,status,mainImg,pskuId,hasSku;
		DaPeiGouSkuInfo skuInfo;
		public String getId() {
			return id;
		}
		public void setId(String id) {
			this.id = id;
		}
		public String getpId() {
			return pId;
		}
		public void setpId(String pId) {
			this.pId = pId;
		}
		public String getPackageId() {
			return packageId;
		}
		public void setPackageId(String packageId) {
			this.packageId = packageId;
		}
		public String getIsMain() {
			return isMain;
		}
		public void setIsMain(String isMain) {
			this.isMain = isMain;
		}
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public String getOnshelf() {
			return onshelf;
		}
		public void setOnshelf(String onshelf) {
			this.onshelf = onshelf;
		}
		public String getStatus() {
			return status;
		}
		public void setStatus(String status) {
			this.status = status;
		}
		public String getMainImg() {
			return mainImg;
		}
		public void setMainImg(String mainImg) {
			this.mainImg = mainImg;
		}
		public String getPskuId() {
			return pskuId;
		}
		public void setPskuId(String pskuId) {
			this.pskuId = pskuId;
		}
		public String getHasSku() {
			return hasSku;
		}
		public void setHasSku(String hasSku) {
			this.hasSku = hasSku;
		}
		public DaPeiGouSkuInfo getSkuInfo() {
			return skuInfo;
		}
		public void setSkuInfo(DaPeiGouSkuInfo skuInfo) {
			this.skuInfo = skuInfo;
		}
		public static class DaPeiGouSkuInfo implements Serializable{
			/**
			 * 
			 */
			private static final long serialVersionUID = 1L;
			String skuId,id,skuDesc,productCode,iconUrl;

			public String getSkuId() {
				return skuId;
			}

			public void setSkuId(String skuId) {
				this.skuId = skuId;
			}

			public String getId() {
				return id;
			}

			public void setId(String id) {
				this.id = id;
			}

			public String getSkuDesc() {
				return skuDesc;
			}

			public void setSkuDesc(String skuDesc) {
				this.skuDesc = skuDesc;
			}

			public String getProductCode() {
				return productCode;
			}

			public void setProductCode(String productCode) {
				this.productCode = productCode;
			}

			public String getIconUrl() {
				return iconUrl;
			}

			public void setIconUrl(String iconUrl) {
				this.iconUrl = iconUrl;
			}
			
		}
	}
	
/***
 * ["id"] => string(1) "1"
    ["package_name"] => string(15) "测试套餐一"
    ["create_time"] => string(10) "1469582920"
    ["end_time"] => string(10) "1479582920"
    ["package_price"] => string(4) "2.00"
    ["package_img"] => string(1) "0"
    ["package_desc"] => string(0) ""
    ["dt_type"] => string(1) "0"
    ["items"] => array(2) {
      [0] => array(11) {
        ["id"] => string(1) "1"
        ["p_id"] => string(1) "1"
        ["package_id"] => string(1) "1"
        ["is_main"] => string(1) "1"
        ["name"] => string(21) "限量美赞臣奶粉"
        ["onshelf"] => string(1) "1"
        ["status"] => string(2) "-1"
        ["main_img"] => string(2) "29"
        ["psku_id"] => string(4) "1281"
        ["sku_info"] => array(5) {
          ["id"] => string(4) "1281"
          ["sku_id"] => string(16) "127:560;128:562;"
          ["sku_desc"] => string(20) "大小:L;颜色:黑;"
          ["product_code"] => string(2) "HL"
          ["icon_url"] => string(2) "30"
        }
        ["has_sku"] => string(1) "0"
      }
      [1] => array(12) {
        ["id"] => string(1) "2"
        ["p_id"] => string(1) "2"
        ["sku_id"] => string(1) "0"
        ["package_id"] => string(1) "1"
        ["is_main"] => string(1) "0"
        ["name"] => string(18) "推荐五鹿奶粉"
        ["onshelf"] => string(1) "1"
        ["status"] => string(2) "-1"
        ["main_img"] => string(2) "30"
        ["psku_id"] => string(1) "0"
        ["has_sku"] => string(1) "0"
        ["sku_info"] => array(5) {
          ["id"] => string(4) "1204"
          ["sku_id"] => string(0) ""
          ["sku_desc"] => string(0) ""
          ["product_code"] => string(0) ""
          ["icon_url"] => string(0) ""
        }
      }
    }
 */
	 
}
